package com.cn.shine.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.cn.shine.pojo.Customer;

public interface CustomerService {
    int deleteByPrimaryKey(Integer id);

    int insert(Customer record);

    int addCustomer(Customer record);

    Customer selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Customer record);

    int updateByPrimaryKey(Customer record);
    
    List<Customer> getCustomerListByPage(Customer record);
    
    int getCountCustomerList(Customer record);
    
    void exportCustomer(HttpServletRequest request,
            HttpServletResponse response,Customer customer);
    
    List<Customer> customerReport();
    
    List<Customer> orderReport();
    
}
